from os.path import dirname, join


class Info():
    # 京东平台参数
    jd_conut = ''
    jd_password = ''

    #手动登录 or 自动登录
    is_manual = False

    # 运行时间
    run_date = 'today'  # 'today' 'tomorrow' or 2020-12-12
    run_time = '00:00:00'  # h:m:s(例 20:00:01) or 'now'

    # 其他信息
    proxies = []
    resource_path = join(dirname(__file__), 'resource')
    driver_path = join(resource_path, 'chromedriver_win32', 'chromedriver.exe')
    temp_img_path = join(resource_path, 'temp', 'validate_img')
    cookie_path = join(resource_path, 'cookies', 'jd.cookies')
